/**
 * 0，先在云数据库端，新建user表
 * 1，将下面的脚本复制到云数据库的执行输入框，执行后，可自动添加5条数据
 *,2，字段说明：
 name：用户名称
 _openid：用户的openid，该字段微信自动生成
 avatarUrl：用户的头像url
 createData：创建时间
phone：电话
oneself：本人发布/家人发布
sex: 性别（0-女，1-男）
birthday：生日
age：年龄
height：身高
education：学历
marriage：婚姻状况
work：职业
income：月收入
hometown：户籍地址 编码
hometownName：户籍地址 名称
currentHome：现居地 编码
currentHomeName：现居地 名称
introduction：自我简介
sexIntroduction：择偶说明
new：新字段表示
photoList：相册集合
 */

db.collection('user')
  .add({
    data: [
      {
    "name": "just fly-001",
    "_openid": 'oDMFW5U00BYRX3Ceqe6DmjTHdfdQ-001',
    "avatarUrl": "../../assets/woman1.png",
    "createData": new Date(),
    "phone": "17717572318",
    "oneself": "家人发布",
    "sex": "0",
    "birthday": "1993-12-01",
    "age": 30,
    "height": "165CM",
    "education": "大专",
    "marriage": "未婚",
    "work": "公务员",
    "income": 10000,
    "hometown": 1001001,
    "hometownName": "河南省-洛阳市-洛宁县",
    "currentHome": 2001001,
    "currentHomeName": "上海市-上海市-青浦区",
    "introduction": "我要飞的更高",
    "sexIntroduction": "希望她有一双美丽的大眼睛，鼻子高又高",
    "new": true,
    "photoList": ['../../assets/woman1.png','../../assets/woman2.png']
  },
  {
    "name": "just fly-002",
    "_openid": 'oDMFW5U00BYRX3Ceqe6DmjTHdfdQ-002',
    "avatarUrl": "../../assets/woman2.png",
    "createData": new Date(),
    "phone": "17717572318",
    "oneself": "家人发布",
    "sex": "0",
    "birthday": "1993-12-01",
    "age": 30,
    "height": "165CM",
    "education": "大专",
    "marriage": "未婚",
    "work": "公务员",
    "income": 20000,
    "hometown": 1001001,
    "hometownName": "河南省-洛阳市-洛宁县",
    "currentHome": 2001001,
    "currentHomeName": "上海市-上海市-青浦区",
    "introduction": "我要飞的更高",
    "sexIntroduction": "希望她有一双美丽的大眼睛，鼻子高又高",
    "new": true,
    "photoList": ['../../assets/woman1.png','../../assets/woman2.png']
  },
  {
    "name": "just fly-003",
    "_openid": 'oDMFW5U00BYRX3Ceqe6DmjTHdfdQ-003',
    "avatarUrl": "../../assets/woman3.png",
    "createData": new Date(),
    "phone": "17717572318",
    "oneself": "家人发布",
    "sex": "0",
    "birthday": "1993-12-01",
    "age": 30,
    "height": "165CM",
    "education": "大专",
    "marriage": "未婚",
    "work": "公务员",
    "income": 30000,
    "hometown": 1001001,
    "hometownName": "河南省-洛阳市-洛宁县",
    "currentHome": 2001001,
    "currentHomeName": "上海市-上海市-青浦区",
    "introduction": "我要飞的更高",
    "sexIntroduction": "希望她有一双美丽的大眼睛，鼻子高又高",
    "new": true,
    "photoList": ['../../assets/woman1.png','../../assets/woman2.png']
  },
  {
    "name": "just fly-004",
    "_openid": 'oDMFW5U00BYRX3Ceqe6DmjTHdfdQ-004',
    "avatarUrl": "../../assets/woman4.png",
    "createData": new Date(),
    "phone": "17717572318",
    "oneself": "家人发布",
    "sex": "0",
    "birthday": "1993-12-01",
    "age": 30,
    "height": "165CM",
    "education": "大专",
    "marriage": "未婚",
    "work": "公务员",
    "income": 40000,
    "hometown": 1001001,
    "hometownName": "河南省-洛阳市-洛宁县",
    "currentHome": 2001001,
    "currentHomeName": "上海市-上海市-青浦区",
    "introduction": "我要飞的更高",
    "sexIntroduction": "希望她有一双美丽的大眼睛，鼻子高又高",
    "new": true,
    "photoList": ['../../assets/woman1.png','../../assets/woman2.png']
  },
  {
    "name": "小杨",
    "_openid": 'oDMFW5U00BYRX3Ceqe6DmjTHdfdQ-005',
    "avatarUrl": "../../assets/man1.png",
    "createData": new Date(),
    "phone": "17717572318",
    "oneself": "家人发布",
    "sex": "1",
    "birthday": "1993-12-01",
    "age": 30,
    "height": "165CM",
    "education": "大专",
    "marriage": "未婚",
    "work": "公务员",
    "income": 50000,
    "hometown": 1001001,
    "hometownName": "河南省-洛阳市-洛宁县",
    "currentHome": 2001001,
    "currentHomeName": "上海市-上海市-青浦区",
    "introduction": "我是唯一的男生，我要飞的更高",
    "sexIntroduction": "希望她有一双美丽的大眼睛，鼻子高又高",
    "new": true,
    "photoList": ['../../assets/man1.png','../../assets/man2.png']
  }
    ]
  })